package com.simpleactors;

/**
 * @author sad
 */
public class MessageWrapper {
    private Object value;
    private Actor sender;

    public MessageWrapper(Object value, Actor sender) {
        this.value = value;
        this.sender = sender;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public Actor getSender() {
        return sender;
    }

    public void setSender(Actor sender) {
        this.sender = sender;
    }

}
